package com.mornd.gulimall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author: mornd
 * @dateTime: 2023/7/23 - 13:17
 *
 *
 * sentinel 整合 gateway 需要重启sentinel控制台服务
 * 作用是在服务层面做流控
 * 文档：https://github.com/alibaba/Sentinel/wiki/主流框架的适配#spring-cloud-gateway
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
